home *** CD-ROM | disk | FTP | other *** search
- # Makefile for GNU C compiler.
- # Copyright (C) 1987 Free Software Foundation, Inc.
-
- #This file is part of GNU CC.
-
- #GNU CC is distributed in the hope that it will be useful,
- #but WITHOUT ANY WARRANTY. No author or distributor
- #accepts responsibility to anyone for the consequences of using it
- #or for whether it serves any particular purpose or works at all,
- #unless he says so in writing. Refer to the GNU CC General Public
- #License for full details.
-
- #Everyone is granted permission to copy, modify and redistribute
- #GNU CC, but only under the conditions described in the
- #GNU CC General Public License. A copy of this license is
- #supposed to have been given to you along with GNU CC so you
- #can know your rights and responsibilities. It should be in a
- #file named COPYING. Among other things, the copyright notice
- #and this notice must be preserved on all copies.
-
- #------------------------------------------------
- # Run this file in gulam first: 'make -f makegen'
- #------------------------------------------------
-
- CROSSINC = d:\gnu\include
- CFLAGS = -O -I$(CROSSINC) -I.\config -I. -Datarist
- CC = d:\gnu\bin\gcc
-
- bindir =
- libdir =
-
- OBSTACK=obstack.o
-
- # Dependency on obstack, alloca, malloc or whatever library facilities
- # are not installed in the system libraries.
- LIBDEPS= $(OBSTACK)
-
- # How to link with both our special library facilities
- # and the system's installed libraries.
- LIBS = $(OBSTACK)
-
- LDFLAGS =
-
- DIR = ../gcc
-
- # Header files that are made available to programs compiled with gcc.
- USER_H = stddef.h stdarg.h assert.h va-*.h limits.h
-
- CONFIG_H =
- RTL_H = rtl.h rtl.def machmode.def
- TREE_H = tree.h tree.def machmode.def
-
- all: obstack.o rtl.o genconfi.ttp genflags.ttp gencodes.ttp genemit.ttp \
- genrecog.ttp genextra.ttp genpeep.ttp genoutpu.ttp
-
- rtl.o : rtl.c $(CONFIG_H) $(RTL_H)
-
- obstack.o : obstack.c
-
- # The programs that generate the machine description files.
-
- genconfi.ttp : genconfi.o rtl.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o genconfi.ttp genconfi.o rtl.o $(LIBS)
-
- genconfi.o : genconfi.c $(RTL_H)
- $(CC) $(CFLAGS) -c genconfi.c -o genconfi.o
-
- genflags.ttp : genflags.o rtl.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o genflags.ttp genflags.o rtl.o $(LIBS)
-
- genflags.o : genflags.c $(RTL_H)
- $(CC) $(CFLAGS) -c genflags.c -o genflags.o
-
- gencodes.ttp : gencodes.o rtl.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o gencodes.ttp gencodes.o rtl.o $(LIBS)
-
- gencodes.o : gencodes.c $(RTL_H)
- $(CC) $(CFLAGS) -c gencodes.c -o gencodes.o
-
- genemit.ttp : genemit.o rtl.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o genemit.ttp genemit.o rtl.o $(LIBS)
-
- genemit.o : genemit.c $(RTL_H)
- $(CC) $(CFLAGS) -c genemit.c -o genemit.o
-
- genrecog.ttp : genrecog.o rtl.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o genrecog.ttp genrecog.o rtl.o $(LIBS)
-
- genrecog.o : genrecog.c $(RTL_H)
- $(CC) $(CFLAGS) -c genrecog.c -o genrecog.o
-
- genextra.ttp : genextra.o rtl.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o genextra.ttp genextra.o rtl.o $(LIBS)
-
- genextra.o : genextra.c $(RTL_H)
- $(CC) $(CFLAGS) -c genextra.c -o genextra.o
-
- genpeep.ttp : genpeep.o rtl.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o genpeep.ttp genpeep.o rtl.o $(LIBS)
-
- genpeep.o : genpeep.c $(RTL_H)
- $(CC) $(CFLAGS) -c genpeep.c -o genpeep.o
-
- genoutpu.ttp : genoutpu.o rtl.o $(LIBDEPS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o genoutpu.ttp genoutpu.o rtl.o $(LIBS)
-
- genoutpu.o : genoutpu.c $(RTL_H)
- $(CC) $(CFLAGS) -c genoutpu.c -o genoutpu.o
-
-